package com.xywl.escort.view.evaluate;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.CommentAddReq;
import com.xywl.escort.bean.PurchaseOrderDetailBean;

public class OrderEvaluateContract {

    public interface Presenter extends BasePresenter {
        void takeView(OrderEvaluateContract.View view);

        void loadOrderDetail(String orderId);

        void addComments(CommentAddReq req);
    }

    interface View extends BaseView<Presenter> {
        void loadOrderDetailSuccess(PurchaseOrderDetailBean dataBean);

        void loadOrderDetailFailure();

        void addCommentsSuccess(BaseResp resp);

        void addCommentsFailure(String msg);
    }
}
